﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using SimpleMvvmToolkit;

namespace ToolRental.Client.SMvvm.Admin
{
    public class Device : ModelBase<Device>
    {
        private int id;
        public int Id
        {
            get { return id; }
            set
            {
                id = value;
                NotifyPropertyChanged(i => i.Id);
            }
        }

        private int deviceTypeId;
        public int DeviceTypeId
        {
            get { return deviceTypeId; }
            set
            {
                deviceTypeId = value;
                NotifyPropertyChanged(m => m.DeviceTypeId);
            }
        }

        private string stockNumber;
        public string StockNumber
        {
            get { return stockNumber; }
            set
            {
                stockNumber = value;
                NotifyPropertyChanged(sn => sn.StockNumber);
            }
        }
    }
}
